<template>
  <div class="app">
    <h3>我是App组件（祖组件）</h3>
    <child-com></child-com>
  </div>
</template>

<script>

import ChildCom from "@/components/ChildCom.vue";

export default {
  name: 'App',
  components: {ChildCom}
}
</script>

<style>
.app {
  background-color: gray;
  padding: 10px;
}
</style>
